Look at sendfile(3) support.

Look closer at following tests:
-- Performing Test HAVE_X86_MMX
-- Performing Test HAVE_X86_MMX - Success
-- Performing Test HAVE_X86_SSE
-- Performing Test HAVE_X86_SSE - Success
-- Performing Test HAVE_X86_SSE2
-- Performing Test HAVE_X86_SSE2 - Success
-- Performing Test HAVE_X86_3DNOW
-- Performing Test HAVE_X86_3DNOW - Success

Hard ones: HUPnP and UDev emulation layers.

knotify4 prints the following on startup:
QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(Solid::DeviceInterface::Type)  error:  "org.freedesktop.DBus.Error.ServiceUnknown" 

Check if we could/should comment out set(QT_USE_IMPORTED_TARGETS TRUE) in FindKDE4Internal.cmake.

Localized documentation incorrectly encodes names in the documentation tree.

Fix kjs/collector.cpp (see current patch), KJS asserts at startup otherwise. We're using Webkit by default now, instead of KHTML, to make Konqueror and other browsers usable.

In file included from /usr/obj/p/kdelibs-4.10.5/kdelibs-4.10.5/kdecore/network/k3socketbase.cpp:32:
/usr/obj/p/kdelibs-4.10.5/kdelibs-4.10.5/kdecore/network/k3socketbase.h:701: warning: 'virtual qint64 KNetwork::KActiveSocketBase::readData(
char*, qint64)' was hidden
/usr/obj/p/kdelibs-4.10.5/kdelibs-4.10.5/kdecore/network/k3socketdevice.h:265: warning:   by 'virtual qint64 KNetwork::KSocketDevice::readDa
ta(char*, qint64, KNetwork::KSocketAddress*)'
/usr/obj/p/kdelibs-4.10.5/kdelibs-4.10.5/kdecore/network/k3socketbase.h:736: warning: 'virtual qint64 KNetwork::KActiveSocketBase::writeData
(const char*, qint64)' was hidden
/usr/obj/p/kdelibs-4.10.5/kdelibs-4.10.5/kdecore/network/k3socketdevice.h:276: warning:   by 'virtual qint64 KNetwork::KSocketDevice::writeD
ata(const char*, qint64, const KNetwork::KSocketAddress*)'

49% tests passed, 80 tests failed out of 156

Total Test time (real) = 2787.44 sec

The following tests FAILED:
          6 - kdecore-karchivetest (Failed)		# buggy test (at minimum group ID inheritance specifics)
          7 - kdecore-kdirwatch_unittest (Failed)	# looks like buggy test (uses QFSWatch?!)
         11 - kdecore-kstandarddirstest (Failed)	# probably a buggy test (symlink already resolved after resourceDirs() call)
         22 - kdecore-ktimezonestest (Failed)		# buggy test
         38 - kdecore-kservicetest (Failed)		# XXX needs konsole and baseapps
         45 - kdecore-ktcpsockettest (Failed)		# buggy test
         46 - kdecore-ksycocathreadtest (Failed)	# XXX needs Kate
         51 - kdecore-kmimetype_nomimetypes (Failed)	# buggy test
         55 - kdecore-klocalsocketservertest (Failed)	# OpenBSD does not support abstract UNIX sockets
         56 - kdecore-klocaletest (Failed)
         60 - kdecore-kmimeglobsfileparsertest (Failed)	# buggy test
         61 - kdecore-kfiltertest (Timeout)
         63 - sonnet-test_core (Failed)
         64 - kdeui-kactioncollectiontest (Failed)
         65 - kdeui-kactioncategorytest (Failed)
         66 - kdeui-kbuttongrouptest (Failed)
         68 - kdeui-kconfigguitest (Failed)
         70 - kdeui-kdualactiontest (Failed)
         71 - kdeui-kfadewidgeteffecttest (Failed)
         72 - kdeui-kfindtest (Failed)
         73 - kdeui-kglobalsettingstest (Failed)
         74 - kdeui-kglobalshortcuttest (Failed)
         75 - kdeui-kmainwindow_unittest (Failed)
         76 - kdeui-klineedit_unittest (Failed)
         77 - kdeui-ktextedit_unittest (Failed)
         78 - kdeui-kcombobox_unittest (Failed)
         79 - kdeui-kdialog_unittest (Failed)
         80 - kdeui-kreplacetest (Failed)
         82 - kdeui-kstandardactiontest (Failed)
         83 - kdeui-kstandardshortcuttest (Failed)
         84 - kdeui-kuniqueapptest (Failed)
         85 - kdeui-kwordwraptest (Failed)
         86 - kdeui-kapplication_unittest (Failed)
         87 - kdeui-kstartupinfo_unittest (Failed)
         88 - kdeui-kcolorutilstest (Failed)
         89 - kdeui-kxmlgui_unittest (Failed)
         90 - kdeui-ktimezonewidget_unittest (Failed)
         91 - kdeui-kiconloader_unittest (Failed)
         92 - kdeui-ktabwidget_unittest (Failed)
         93 - kdeui-ktoolbar_unittest (Failed)
         94 - kdeui-krichtextedittest (Failed)
         95 - kdeui-kselectaction_unittest (Failed)
         96 - kdeui-klistwidgetsearchlinetest (Failed)
         97 - kdeui-ktimecomboboxtest (Failed)
         98 - kdeui-kdatecomboboxtest (Failed)
         99 - kdeui-kdatetimeedittest (Failed)
        100 - kdeui-kconfigdialog_unittest (Failed)
        101 - kdeui-kdescendantsproxymodeltest (Failed)
        102 - kdeui-kselectionproxymodeltest (Failed)
        103 - kdeui-testmodelqueuedconnections (Failed)
        105 - kptyprocesstest (Failed)			# buggy test (execute should not be used for KPtyProcess)
        107 - kio-krununittest (Failed)
        108 - kio-kprotocolinfotest (Failed)
        109 - kio-jobtest (Failed)
        110 - kio-jobguitest (Failed)
        111 - kio-jobremotetest (Failed)
        112 - kio-kurlcompletiontest (Failed)
        113 - kio-kfileitemtest (Failed)
        115 - kio-kacltest (Failed)
        116 - kio-kdirmodeltest (Failed)
        117 - kio-kdirlistertest (Failed)
        118 - kio-fileundomanagertest (Failed)
        119 - kio-kfilemetainfotest (Failed)
        124 - kmimeassociationstest (Failed)
        125 - kde3support-kcommandtest (Failed)
        127 - kfile-kfileplacesmodeltest (Failed)
        128 - kfile-kurlnavigatortest (Failed)
        129 - kfile-kdiroperatortest (Failed)
        130 - kfile-knewfilemenutest (Failed)
        131 - test_kconf_update (Failed)
        141 - kparts-parttest (Failed)
        142 - kparts-openorsavequestion_unittest (Failed)
        143 - kutils-kemoticontest2 (Failed)
        147 - khtmlparttest (Failed)
        151 - plasma-runnercontexttest (Failed)
        153 - plasma-storage (Failed)
Errors while running CTest
*** Error 8 in /usr/ports/pobj/kdelibs-4.9.95/build-i386-debug (Makefile:137 'test')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2599 '/usr/ports/pobj/kdelibs-4.9.95/build-i386-debug/.regress_done')
*** Error 1 in /usr/ports/openbsd-wip/x11/kde4995/libs (/usr/ports/infrastructure/mk/bsd.port.mk:2285 'regress')
